package net.lcheng.vo;

import org.hibernate.validator.constraints.NotEmpty;

import javax.validation.constraints.NotNull;
import java.util.Date;

/**
 * Created by zwr on 2016/7/4 0004.
 */
public class WxShopBannerModel {
    private String bannerId;
    private Integer wxShopShopId;
    @NotEmpty(message = "图片不能为空")
    private String image;
    @NotEmpty(message = "链接不能为空")
    private String link;
    @NotNull(message = "排序不能为空")
    private Integer orderNum;
    private Integer status;
    private Date createOn;
    private Date modifyOn;

    public String getBannerId() {

        return bannerId;
    }

    public void setBannerId(String bannerId) {
        this.bannerId = bannerId;
    }

    public Integer getWxShopShopId() {
        return wxShopShopId;
    }

    public void setWxShopShopId(Integer wxShopShopId) {
        this.wxShopShopId = wxShopShopId;
    }

    public String getImage() {
        return image;
    }

    public void setImage(String image) {
        this.image = image;
    }

    public String getLink() {
        return link;
    }

    public void setLink(String link) {
        this.link = link;
    }

    public Integer getOrderNum() {
        return orderNum;
    }

    public void setOrderNum(Integer orderNum) {
        this.orderNum = orderNum;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public Date getCreateOn() {
        return createOn;
    }

    public void setCreateOn(Date createOn) {
        this.createOn = createOn;
    }

    public Date getModifyOn() {
        return modifyOn;
    }

    public void setModifyOn(Date modifyOn) {
        this.modifyOn = modifyOn;
    }
}
